<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Flex快速入门</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        .father {
            width: 800px;
            height: 100px;
            background-color: #e15fad;
            border: 2px solid #000000;

            display: flex;
        }
        
        .father div {
            width: 50px;
            height: 50px;
            background-color: #e92121;
        }
    </style>
</head>
<body>
<div class="father">
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
    <div></div>
</div>
</body>
</html>